<?php
session_start();
include_once("function_right.php");
if(!JudgeUserRight()) return FALSE;
?>
<?php

include "function_net_addr.php";

$name= $_GET['dev'];
$type= $_GET['type'];
$num = $_GET['num'];

$addr = new CAddress($name, $type);
$addr -> DelXmlItem($num);

include "function_misc_log.php";
$log = array();
$log['Dev'] = $name;
$log['Type'] = $type;
$log['Number'] = $num;
logger("Del", $log,"Address_List");

//include_once  "function_web_misc.php";
//PrintSuccessPageAndJump('net_dev_bridge_list.php');
echo("<meta http-equiv='refresh'content=0;URL='net_dev_addr_list.php?dev=". $name. "&type=". $type. "'>");
?>
